<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title><?php echo $this->_siteConfig->name;?></title>
    <link type="image/x-icon" href="<?php echo IUrl::creatUrl("")."favicon.ico";?>" rel="icon">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="apple-touch-icon-precomposed" href="<?php echo $this->getWebSkinPath()."image/logo.gif";?>">
    <script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/jquery/jquery-1.12.4.min.js"></script> <script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/form/form.js"></script> <script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/autovalidate/validate.js"></script><link rel="stylesheet" type="text/css" href="/git/micarshop/runtime/_systemjs/autovalidate/style.css" /> <script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/artdialog/artDialog.js"></script><script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/artdialog/plugins/iframeTools.js"></script><link rel="stylesheet" type="text/css" href="/git/micarshop/runtime/_systemjs/artdialog/skins/aero.css" /> <script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/artTemplate/artTemplate.js"></script><script type="text/javascript" charset="UTF-8" src="/git/micarshop/runtime/_systemjs/artTemplate/artTemplate-plugin.js"></script>
    <script src="<?php echo $this->getWebViewPath()."javascript/common.js";?>"></script>
    <script src='<?php echo $this->getWebViewPath()."javascript/site.js";?>'></script>
    <link rel="stylesheet" href="<?php echo $this->getWebSkinPath()."style/style.css";?>">
</head>

<body>
    <!-- 顶部通栏 -->
    <header class="header_box">
        <div class="header">
            <?php if(IWeb::$app->getController()->getId() == 'site' && IWeb::$app->getController()->getAction()->getId() == 'index'){?>
            <div class="header_home"><i class="icon-home"></i></div>
            <?php }else{?>
            <div class="header_back" onclick="window.history.back();"><i class="icon-chevron-left"></i></div>
            <?php }?>
            <h1 id="page_title" class="page_title"><?php echo $this->_siteConfig->name;?></h1>
        
            <!-- <div class="header_so_btn" onclick="$('.header_search').toggle();"><i class="icon-search"></i></div> -->
            <div class="header_so_btn" onclick="jump_url()"><i class="icon-search"></i></div>
        
        </div>
    </header>
    <!-- 顶部搜索 -->
    <section class="header_search">
        <form method='get' action="<?php echo IUrl::creatUrl("/");?>">
            <input type='hidden' name='controller' value='site'>
            <input type='hidden' name='action' value='search_list'>
            <input class="keywords" type="text" name='word' autocomplete="off" placeholder="请输入关键词...">
            <input class="submit" type="submit" value="搜索">
        </form>
    </section>
    <!-- 引入内页 -->
    <section class="viewport">
        <div id="pageInfo" data-title="订单已提交"></div>
<section class="cart_3">
    <table>
        <tr>
            <td>订单编号</td>
            <td><?php echo $this->order_num;?></td>
        </tr>
        <tr>
            <td>订单金额</td>
            <td>￥<?php echo $this->final_sum;?></td>
        </tr>
        <tr>
            <td>支付方式</td>
            <td><?php echo $this->payment;?></td>
        </tr>
        <?php if($this->good_type != 2){?>
        <tr>
            <td>备货时间</td>
            <td><?php echo $this->stockup_time;?>天</td>
        </tr>
        <tr>
            <td>配送方式</td>
            <td><?php echo $this->delivery;?></td>
        </tr>
        <tr>
            <td>收货人名</td>
            <td><?php echo isset($accept_name)?$accept_name:"";?></td>
        </tr>
        <tr>
            <td>联系方式</td>
            <td><?php echo isset($mobile)?$mobile:"";?></td>
        </tr>
        <tr>
            <td>收货时间</td>
            <td><?php echo isset($accept_time)?$accept_time:"";?></td>
        </tr>
        <tr>
            <td>发票抬头</td>
            <td><?php echo $this->tax_title;?></td>
        </tr>
        <?php }?>
    </table>
</section>


<?php if($this->deliveryType != 1 && $this->paymentType == 1){?>
	<?php if($this->good_type == 1 ){?>
		<?php $tmpId=$this->order_id;?>
			<div class="btn_bottom">
			    <form action='<?php echo IUrl::creatUrl("/block/doPay/order_id/".$tmpId."");?>' method='post'>
			        <input type="submit" value="立即支付" class="btn_submit pink" />
			    </form>
			</div>
		<?php }else{?>
			<?php $order_no=$this->order_num;?>
			<div class="btn_bottom">
			    <form action='<?php echo IUrl::creatUrl("/block/doPay/order_id/".$tmpId."/order_no/".$order_no."");?>' method='post'>
			        <input type="submit" value="立即支付" class="btn_submit pink" />
			    </form>
			</div>
		
	<?php }?>
	

<?php }?>
<script>
$(function(){
    // 隐藏底部导航
    hideNav();
})
</script>
    </section>
    <!-- 会员登陆与否显示不同内容 -->
    <?php if($this->user){?>
    <?php }else{?>
    <!-- 
    <section class="footer_login">
        <a class="login" href="<?php echo IUrl::creatUrl("simple/login");?>">登录</a>
        <a class="reg" href="<?php echo IUrl::creatUrl("simple/reg");?>">注册</a>
    </section> -->
    <?php }?>
    <!--底部菜单-->
    <nav class="footer_nav">
        <ul>
            <li class="nav_home"><a href="<?php echo IUrl::creatUrl("site");?>"><i class="icon-home"></i><span>首页</span></a></li>
            <li class="nav_cart"><a href="<?php echo IUrl::creatUrl("simple/cart");?>"><i class="icon-shopping-cart"></i><span>购物车</span></a></li>
            <li class="nav_user"><a href="<?php echo IUrl::creatUrl("/ucenter/index");?>"><i class="icon-user"></i><span>个人中心</span></a></li>
            <li class="nav_map"><a href="<?php echo IUrl::creatUrl("site/sitemap");?>"><i class="icon-reorder"></i><span>分类</span></a></li>
        </ul>
    </nav>
    <script src='<?php echo $this->getWebViewPath()."javascript/mobile.js";?>'></script>
</body>

</html>

<script type="text/javascript">

var ex = "http://"+window.location.host+"/";
function jump_url(){
	
	//window.location.href = ex+"site/goseachpage";
	window.location.href = ex+"git/micarshop/site/goseachpage";
	
}

</script>

